
body{
  padding: 0 15px;
}

h2{
  margin: 0;
  padding: .8em 0;
  scroll-margin: 20px;
}

nav{
  position: fixed;
  top: 15px;
  right: 15px;
  background: #fff;
  padding: 10px 0;
  border-radius: 4px;
  overflow: hidden;
}

nav>a{
  position: relative;
  display: block;
  line-height: 2;
  padding: 0 15px;
  font-size: 14px;
  color: #191919;
  text-decoration: none;
}

nav>a:hover{
  background-color: #d5d5d54a;
}

section{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

section span{
  width: 30%;
  height: 100px;
  border-radius: 4px;
  background-color: #E4CCFF;
}

html {
  scroll-behavior: smooth;
}

@keyframes active {
  0%,100% {
    color: #6f00ff;
    border-color: #6f00ff;
  }
}
